<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cherry.js</title>
    <script src="../../Cherry.js"></script>

</head>

<body>
<div id="app"></div>
</body>
<script>
    new CherryMain({
        app:"app",
        child:[
            new CHE_Button({
                size:"Mini",
                margin:5,
                outline:false,
                text:"Link",
                type:"Link",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                text:"Default",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                type:"Primary",
                text:"Primary",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                type:"Success",
                text:"Success",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                type:"Info",
                text:"Info",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                type:"Warning",
                text:"Warning",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                type:"Danger",
                text:"Danger",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Mini", //Mini Default Big
                margin:5,
                outline:false,
                type:"Disabled",
                text:"Disabled",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Container({
                //换行
                width:"100%",
                height:5,
            }),
            new CHE_Button({
                size:"Default",
                margin:5,
                outline:false,
                text:"Link",
                type:"Link",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                text:"Default",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                type:"Primary",
                text:"Primary",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                type:"Success",
                text:"Success",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                type:"Info",
                text:"Info",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                type:"Warning",
                text:"Warning",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                type:"Danger",
                text:"Danger",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Default", //Mini Default Big
                margin:5,
                outline:false,
                type:"Disabled",
                text:"Disabled",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Container({
                //换行
                width:"100%",
                height:5,
            }),
            new CHE_Button({
                size:"Big",
                margin:5,
                outline:false,
                text:"Link",
                type:"Link",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                text:"Default",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                type:"Primary",
                text:"Primary",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                type:"Success",
                text:"Success",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                type:"Info",
                text:"Info",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                type:"Warning",
                text:"Warning",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                type:"Danger",
                text:"Danger",
            }),
            new CHE_Button({
                size:"Big", //Mini Default Big
                margin:5,
                outline:false,
                type:"Disabled",
                text:"Disabled",
                methods:{
                    click:function (e,self) {console.log("click");}, //点击
                    mousedown:function(e,self){console.log("mousedown");}, //按下
                    mouseup:function(e,self){console.log("mouseup");},   //弹起
                    mousego:function (e,self) {console.log("mousego");},  //进入触发
                    mouseout:function (e,self) {console.log("mouseout");}  //离开触发
                },
            }),
        ],
        Created:()=>{

        }
    });



</script>
</html>